<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
<script src="../../plugins/echarts/echarts.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../js/modules/bdbusiness/showGraph.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.title" @keyup.enter="query" placeholder="标题">
			</div>
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.source" @keyup.enter="query" placeholder="来源">
			</div>
			<div class="form-group col-sm-2">
				<select style="" class="form-control" v-model="q.keyword">
                    <option value="">分类</option>
                    <option value="政策解读">政策解读</option>
					<option value="对外投资">对外投资</option>
					<option value="其它">其它</option>
					<option value="内贸政策">内贸政策</option>
					<option value="农业">农业</option>
					<option value="口岸政策">口岸政策</option>
					<option value="国际法律法规">国际法律法规</option>
					<option value="外经贸政策">外经贸政策</option>
					<option value="工业">工业</option>
					<option value="招商政策">招商政策</option>
					<option value="服务外包政策">服务外包政策</option>
					<option value="民营经济">民营经济</option>
					<option value="综合政策">综合政策</option>
					<option value="走出去服务平台">走出去服务平台</option>
					<option value="进出口政策">进出口政策</option>
                 </select>
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<a class="btn btn-primary" @click="details"><i class="fa fa-pencil-square-o"></i>&nbsp;政策详情</a>
					<a class="btn btn-primary" onClick="layerOpen()"><i class="fa fa-database"></i>&nbsp;数据图谱</a>
<!-- 			<a v-if="hasPermission('bdbusiness:azhishikupolicy:save')" class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a> -->
<!-- 			<a v-if="hasPermission('bdbusiness:azhishikupolicy:update')" class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a> -->
<!-- 			<a v-if="hasPermission('bdbusiness:azhishikupolicy:delete')" class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a> -->
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
   		 <div class="form-group">
				<input type="button" class="btn btn-primary" @click="reload" value="返回"/>
			</div>
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal" style="width: 70%;">
								<div class="form-group">
				<div class="col-sm-3 control-label">标题</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.title}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">来源</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.source}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">发布时间</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.pubdate}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">分类</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.keyword}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">摘要</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.abstra}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">文章详情</div>
				<div class="col-sm-9 control-label" style="text-align: left;" v-html="aZhishikuPolicy.content">{{aZhishikuPolicy.content}}</div>
			</div>
						<div class="form-group">
				<div class="col-sm-3 control-label">URL</div>
				<div class="col-sm-9 control-label" style="text-align: left;">{{aZhishikuPolicy.url}}</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<div class="control-label" id="showGraph" style="padding-left: 15px;width: 1000px;height: 400px;display: none;"></div>
<script src="../../js/modules/bdbusiness/azhishikupolicy.js"></script>
</body>
</html>